package main

import "flag"

func main() {
	manager := NewManager()
	flag.IntVar(&manager.retry, "r", manager.retry, "重试次数，随机切换其他路径")
	flag.IntVar(&manager.count, "c", manager.count, "模拟次数，在一条路径上回溯次数")
	flag.IntVar(&manager.score, "s", manager.score, "到达目标得分，提前结束计算")
	flag.StringVar(&manager.file, "f", manager.file, "数据文件，支持txt/png/jpg等")
	flag.StringVar(&manager.data, "d", manager.data, "传递数据，下面颜色'空红绿黄蓝紫'可用字符表示'012345'或'nrgybp'")
	flag.BoolVar(&manager.enter, "e", manager.enter, "手动输入Enter下一步")
	flag.BoolVar(&manager.verbose, "v", manager.verbose, "打印日志")
	flag.Parse()
	manager.Run()
	manager.Show()
}
